package com.data.center.mapper.mongo;
import com.data.center.entity.mongo.MongoPaper;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

import java.util.Optional;

@Repository
public interface MongoPaperRepository extends MongoRepository<MongoPaper, String>{
    Optional<MongoPaper> findByPaperId(String paperId);
}
